<script>

//async函数返回的是一个promise对象

async function fn(){
    return 1
}

let a = fn()
console.log(a)
a.then(
    value => {console.log(value)},
    reason => {console.log(reason)}
)

</script>